<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改通行关联详细')" />
    <th:block th:include="include :: datetimepicker-css" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-record-edit" th:object="${trafficRecord}">
            <input name="trId" th:field="*{trId}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">人员ID：</label>
                <div class="col-sm-8">
                    <input name="psWorkId" th:field="*{psWorkId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">员工号：</label>
                <div class="col-sm-8">
                    <input name="psEmpid" th:field="*{psEmpid}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">人员姓名：</label>
                <div class="col-sm-8">
                    <input name="psWorkName" th:field="*{psWorkName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">公司：</label>
                <div class="col-sm-8">
                    <input name="COMPANY" th:field="*{COMPANY}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">部门：</label>
                <div class="col-sm-8">
                    <input name="dtmsDept" th:field="*{dtmsDept}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">磁卡号：</label>
                <div class="col-sm-8">
                    <input name="rpCard" th:field="*{rpCard}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">人员身份证号码：</label>
                <div class="col-sm-8">
                    <input name="psPassport" th:field="*{psPassport}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">人员类型：</label>
                <div class="col-sm-8">
                    <select name="dtmsMantype" class="form-control m-b">
                        <option value="">所有</option>
                    </select>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">联系方式：</label>
                <div class="col-sm-8">
                    <input name="dtmsContacts" th:field="*{dtmsContacts}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">电厂来源于kzc passage区域的第一个字符：</label>
                <div class="col-sm-8">
                    <input name="rpPlant" th:field="*{rpPlant}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">剂量计激活ID：</label>
                <div class="col-sm-8">
                    <input name="rpRlid" th:field="*{rpRlid}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">剂量计编号：</label>
                <div class="col-sm-8">
                    <input name="rpCode" th:field="*{rpCode}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">剂量计IP：</label>
                <div class="col-sm-8">
                    <input name="rpIp" th:field="*{rpIp}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">剂量计激活电量：</label>
                <div class="col-sm-8">
                    <input name="rpPower" th:field="*{rpPower}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">入口读出仪设备：</label>
                <div class="col-sm-8">
                    <input name="psStartread" th:field="*{psStartread}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">出口读出仪设备：</label>
                <div class="col-sm-8">
                    <input name="psEndread" th:field="*{psEndread}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">剂量计编码：</label>
                <div class="col-sm-8">
                    <input name="rpDosimeter" th:field="*{rpDosimeter}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">剂量计激活时间：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <input name="rpActivateDate" th:value="${#dates.format(trafficRecord.rpActivateDate, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">剂量计消表时间：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <input name="rpPauseDate" th:value="${#dates.format(trafficRecord.rpPauseDate, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">剂量计当前电量：</label>
                <div class="col-sm-8">
                    <input name="rpEndpower" th:field="*{rpEndpower}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">剂量报警阈值：</label>
                <div class="col-sm-8">
                    <input name="rpDoseLevel0" th:field="*{rpDoseLevel0}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">超时报警阈值：</label>
                <div class="col-sm-8">
                    <input name="rpCtrTime" th:field="*{rpCtrTime}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">剂量率报警阈值：</label>
                <div class="col-sm-8">
                    <input name="rpRateAlarm" th:field="*{rpRateAlarm}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">剂量率预报警值：</label>
                <div class="col-sm-8">
                    <input name="rpRateWarning" th:field="*{rpRateWarning}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">超时报警次数：</label>
                <div class="col-sm-8">
                    <input name="rpTimeout" th:field="*{rpTimeout}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">剂量计电量预警值：</label>
                <div class="col-sm-8">
                    <input name="rpPowerConst" th:field="*{rpPowerConst}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">电量报警时间：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <input name="rpPowerDate" th:value="${#dates.format(trafficRecord.rpPowerDate, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">剂量值_HP10G：</label>
                <div class="col-sm-8">
                    <input name="rpDosevalue" th:field="*{rpDosevalue}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">剂量率值：</label>
                <div class="col-sm-8">
                    <input name="rpDoserate" th:field="*{rpDoserate}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">累增加年剂量：</label>
                <div class="col-sm-8">
                    <input name="LASTYEARDOSE" th:field="*{LASTYEARDOSE}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">人员进入控制区时间：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <input name="psStartDate" th:value="${#dates.format(trafficRecord.psStartDate, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">房间：</label>
                <div class="col-sm-8">
                    <input name="drCode" th:field="*{drCode}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">累增加日剂量：</label>
                <div class="col-sm-8">
                    <input name="DAYDOSE" th:field="*{DAYDOSE}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">累增加月剂量：</label>
                <div class="col-sm-8">
                    <input name="MONTHDOSE" th:field="*{MONTHDOSE}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">人员进入控制区域：</label>
                <div class="col-sm-8">
                    <input name="psZone" th:field="*{psZone}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">人员离开控制区时间：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <input name="psEndDate" th:value="${#dates.format(trafficRecord.psEndDate, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">持续工作时间：</label>
                <div class="col-sm-8">
                    <input name="rpCumulativetime" th:field="*{rpCumulativetime}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">进入前日计量：</label>
                <div class="col-sm-8">
                    <input name="psDaydose" th:field="*{psDaydose}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">进入前年计量：</label>
                <div class="col-sm-8">
                    <input name="psLastyeardose" th:field="*{psLastyeardose}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">工单号：</label>
                <div class="col-sm-8">
                    <input name="dtmsOrderno" th:field="*{dtmsOrderno}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">RWP任务码：</label>
                <div class="col-sm-8">
                    <input name="psRwp" th:field="*{psRwp}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">RWP任务名称：</label>
                <div class="col-sm-8">
                    <input name="psRwpName" th:field="*{psRwpName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">工单名称：</label>
                <div class="col-sm-8">
                    <input name="dtmsOrdername" th:field="*{dtmsOrdername}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">工单类型：</label>
                <div class="col-sm-8">
                    <select name="dtmsOrdertype" class="form-control m-b">
                        <option value="">所有</option>
                    </select>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">工单刷入区域：</label>
                <div class="col-sm-8">
                    <input name="dtmsStartposition" th:field="*{dtmsStartposition}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">工单刷出区域：</label>
                <div class="col-sm-8">
                    <input name="dtmsEndposition" th:field="*{dtmsEndposition}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">污染报警：</label>
                <div class="col-sm-8">
                    <input name="psContamination" th:field="*{psContamination}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">Hp10G最大剂量率：</label>
                <div class="col-sm-8">
                    <input name="psMaxRate10g" th:field="*{psMaxRate10g}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">Hp10N最大剂量率：</label>
                <div class="col-sm-8">
                    <input name="psMaxRate10n" th:field="*{psMaxRate10n}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">中子剂量_HP10N：</label>
                <div class="col-sm-8">
                    <input name="psDosevalueN" th:field="*{psDosevalueN}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">中子剂量报警值_HP10N：</label>
                <div class="col-sm-8">
                    <input name="psDosealarmN" th:field="*{psDosealarmN}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">中子剂量预报警值_HP10N：</label>
                <div class="col-sm-8">
                    <input name="psRatewarningN" th:field="*{psRatewarningN}" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <th:block th:include="include :: datetimepicker-js" />
    <script th:inline="javascript">
        var prefix = ctx + "system/record";
        $("#form-record-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-record-edit').serialize());
            }
        }

        $("input[name='rpActivateDate']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });

        $("input[name='rpPauseDate']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });

        $("input[name='rpPowerDate']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });

        $("input[name='psStartDate']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });

        $("input[name='psEndDate']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });
    </script>
</body>
</html>